/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.techopropio.bfh.persistence;

import com.techopropio.bfh.model.Bean;
import java.sql.SQLException;
import java.util.List;

/**
 *
 * @author Home
 */
public interface DAO {
    public int insert( Bean bean ) throws SQLException;
    public int update( Bean bean, String condicion ) throws SQLException;
    public Bean find( String condicion ) throws SQLException;
    public List<Bean> select( String condicion ) throws SQLException; 
    public int delete(String condicion) throws SQLException;
}
